
/**
 * Write a description of class Werknemer here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Werknemer implements Serializable
{
    // instance variables - replace the example below with your own
   private String naam;
   private double maandloon;

    /**
     * Constructor for objects of class Werknemer
     */
    public Werknemer(String naam, double loon)
    {
        this.naam = naam;
        maandloon = loon;
    }
    //Vraag het loon van betreffende werknemer op
    public double getMaandLoon(){
        return maandloon;
    }
}
